<script>
APP = {
	base: '<?php echo site_url(array('users',$usrAlias,'perbuatan'))?>',
	utils: '<?php echo site_url(array('utils'))?>',
	newPost:{
		'table':'newPost_table',
		'pagination':'newPost_tablePagination',
		'content':'newPost_tableContent',
		'form':'newPost_frm'
	},
	approve:{
		'table':'approve_table',
		'pagination':'approve_tablePagination',
		'content':'approve_tableContent',
		'form':'approve_frm'
	},
	reject:{
		'table':'reject_table',
		'pagination':'reject_tablePagination',
		'content':'reject_tableContent',
		'form':'reject_frm'
	}
};
</script>

<h2 style="border-bottom: 1px solid #ccc;">Laporan Perbuatan</h2>
<h3 style="padding-top:0; padding-bottom:0">Permohonan Persetujuan</h3>
<form id="newPost_frm" action="<?php echo site_url(array('users',$usrAlias,'perbuatan','ajax','search','RA')) ?>">
	<input type="hidden" name="offset" value="" />
	<input type="hidden" name="limit" value="<?php echo $limit?>" />
	<input type="hidden" name="orderby" value="" />
</form>
<table id="newPost_table" class="zebraable" cellpadding="5" cellspacing="0" width="100%">
<tr class="header">
	<td>Tgl Lapor</td>
	<td>Tgl Kejadian</td>
	<td>Tempat Kejadian</td>
	<td>Keterangan</td>
	<td>Status</td>
	<td></td>
</tr>
<tbody id="newPost_tableContent"></tbody>
</table>
<div style="margin-top:10px; margin-right: 6px" align="right">
	<div id="newPost_tablePagination" class="pagination" style="display: inline;"></div>
</div>

<h3 style="padding-top:0; padding-bottom:0">Disetujui</h3>
<form id="approve_frm" action="<?php echo site_url(array('users',$usrAlias,'perbuatan','ajax','search','AP')) ?>">
	<input type="hidden" name="offset" value="" />
	<input type="hidden" name="limit" value="<?php echo $limit?>" />
	<input type="hidden" name="orderby" value="" />
</form>
<table id="approve_table" class="zebraable" cellpadding="5" cellspacing="0" width="100%">
<tr class="header">
	<td>Tgl Lapor</td>
	<td>Tgl Kejadian</td>
	<td>Tempat Kejadian</td>
	<td>Keterangan</td>
	<td>Status</td>
	<td></td>
</tr>
<tbody id="approve_tableContent"></tbody>
</table>
<div style="margin-top:10px; margin-right: 6px" align="right">
	<div id="approve_tablePagination" class="pagination" style="display: inline;"></div>
</div>

<h3 style="padding-top:0; padding-bottom:0">Ditolak</h3>
<form id="reject_frm" action="<?php echo site_url(array('users',$usrAlias,'perbuatan','ajax','search','RE')) ?>">
	<input type="hidden" name="offset" value="" />
	<input type="hidden" name="limit" value="<?php echo $limit?>" />
	<input type="hidden" name="orderby" value="" />
</form>
<table id="reject_table" class="zebraable" cellpadding="5" cellspacing="0" width="100%">
<tr class="header">
	<td>Tgl Lapor</td>
	<td>Tgl Kejadian</td>
	<td>Tempat Kejadian</td>
	<td>Keterangan</td>
	<td>Status</td>
	<td></td>
</tr>
<tbody id="reject_tableContent"></tbody>
</table>
<div style="margin-top:10px; margin-right: 6px" align="right">
	<div id="reject_tablePagination" class="pagination" style="display: inline;"></div>
</div>